<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml"
	xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
	layout:decorator="comm">
	<head>
		<title>数据上传</title>
		<link href="vendor/fileinput/css/fileinput.css" rel="stylesheet" type="text/css" />
		
		<script th:src="@{dist/js/upload.js?v=}+${session.version}"></script>
		<script src="vendor/fileinput/js/fileinput.js"></script>
	    <script src="vendor/fileinput/js/locales/zh.js"></script>
	</head>
	<body>
		<div id="page-wrapper" th:fragment="content" th:remove="tag">
			<div class="row">
	        	<div class="col-lg-12">
	            	<h3 class="page-header">数据上传</h3>
	        	</div>
    		</div>
    		<div class="row">
    			<div class="col-lg-12">
    				<form class="form-horizontal" id="registerDiv" role="form">
    					<div class="form-group">
    						<label for="companyNameSelect" class="control-label col-xs-2 fa">客户名称.<br/><span>Client name.</span></label>
    						<div class="col-xs-2">
    							<select name="company" id="companyNameSelect" class="form-control">
    								<option th:each="project:${session.user.projects}" th:value="${project.prjId}" th:text="${project.entityBasic.entShrtnm}"></option>
    							</select>
    						</div>
    					</div>
                		<div class="form-group ">
                    		<label for="dataUpload" class="control-label col-xs-2 fa">上传数据.<br/><span>Data Upload.</span></label>
                    		<div class="col-xs-5">
                        		<input type="file"  name="dataUpload" id="dataUpload" class="file" />
                   			</div>
                		</div>
                		<div class="form-group">
                    		<div class="col-xs-offset-2 col-xs-8">
                        		<button type="button" class=" btn btn-primary" id="uploadBtn">上传到服务器</button>
                    		</div>
                		</div>
            		</form>
    			</div>
    		</div>
		</div>
	</body>
</html>